//////////////////////////////////////////////////////////////////////////
//	Copyright (c) 2011-2012 www.ipplelife.com
//	Copyright (c) 2011-2012 vainner
//	http://www.ippelife.com
//////////////////////////////////////////////////////////////////////////

#include "core/Block.h"
#include <stdlib.h>
#include "res.h"
const char * Block::getBlock()
{
	int x = rand()%5;
	return bBlock[x];
}

void Block::setSprite(cocos2d::CCSprite *s)
{
	this->sprite = s;
}

void Block::setBvalue(int value)
{
	this->bValue = value;
}
cocos2d::CCSprite * Block::getSprite()
{
	return this->sprite;
}

int Block::getBvalue()
{
	return this->bValue;
}